package com.zhongshengnetwork.rightbe.dbmodel;
import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * Created by GordonLjx on 2016/9/25.
 */
@Table(name = "addressbookdb")
public class AddressbookdbModel {
    @Column(name = "id", isId = true)
    private String id;//ownerid+userid
    @Column(name = "ownerid")
    private String ownerid;
    @Column(name = "userid")
    private String userid;
    @Column(name = "username")
    private String username;
    @Column(name = "usernickname")
    private String usernickname;
    @Column(name = "userheader")
    private String userheader;
    @Column(name = "userrelationship")
    private int userrelationship;
    @Column(name = "msg")
    private String msg;
    @Column(name = "time")
    private String time;
    @Column(name = "json")
    private String json;
    @Column(name = "readstate")
    private String readstate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOwnerid() {
        return ownerid;
    }

    public void setOwnerid(String ownerid) {
        this.ownerid = ownerid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUsernickname() {
        return usernickname;
    }

    public void setUsernickname(String usernickname) {
        this.usernickname = usernickname;
    }

    public String getUserheader() {
        return userheader;
    }

    public void setUserheader(String userheader) {
        this.userheader = userheader;
    }

    public int getUserrelationship() {
        return userrelationship;
    }

    public void setUserrelationship(int userrelationship) {
        this.userrelationship = userrelationship;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getJson() {
        return json;
    }

    public void setJson(String json) {
        this.json = json;
    }

    public String getReadstate() {
        return readstate;
    }

    public void setReadstate(String readstate) {
        this.readstate = readstate;
    }
}
